[VMX] Fix VMX ap boot.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 15 Aug 2006 09:43:43 +0000 (10:43 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 15 Aug 2006 09:43:43 +0000 (10:43 +0100)
Signed-off-by: Xin Li <xin.b.li@intel.com>
tools/firmware/vmxassist/head.S

index 129f69274ff27661d82b8400318f6aba16ce0cca..b183fac54eab2cb5f2479a26bc13410588b3f877 100644 (file)
@@ -114,8 +114,6 @@ _start:
 #ifdef TEST
        xorl    %edx, %edx
 #endif
-       movl    %edx, booting_cpu
-       movl    %ebx, booting_vector
 
        /* clear bss */
        cld
@@ -125,6 +123,9 @@ _start:
        subl    %edi, %ecx
        rep     stosb
 
+       movl    %edx, booting_cpu
+       movl    %ebx, booting_vector
+
        /* make sure we are in a sane world */
        clts